package com.youkeyi.ddy.cloud.common.api.application.business.crm.recipient;

import com.youkeyi.ddy.cloud.common.api.application.business.crm.recipient.dto.BusinessVaccineRecipientListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.recipient.param.BusinessVaccineRecipientCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.recipient.param.BusinessVaccineRecipientDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.recipient.param.BusinessVaccineRecipientListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.recipient.param.BusinessVaccineRecipientUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * BusinessVaccineRecipientCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/business/vaccine/recipient/fallback")
public class BusinessVaccineRecipientCloudServiceFallback implements BusinessVaccineRecipientCloudService {

    @Override
    public BusinessVaccineRecipientListCloudDto list(BusinessVaccineRecipientListCloudParam param) {
        return new BusinessVaccineRecipientListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(BusinessVaccineRecipientCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(BusinessVaccineRecipientUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(BusinessVaccineRecipientDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
